<template>
	<view class="df-yc">
		<!-- 导航栏 -->
		<view class="navbar w100" :style="{ background: bgcolor }">
			<cu-custom :isBack="true" :showBackIcon="true">
				<block slot="backText">
					<text class="nav-title shopro-selector-rect">个人信息</text>
				</block>
			</cu-custom>
		</view>
		<!-- 个人信息面板 -->
		<info></info>
	</view>
</template>

<script>
	import info from "../components/info.vue"
	export default {
		components: {
			info
		},
		onShow() {

		},
		data() {
			return {
				bgcolor: '#F0F0F0'
			};
		},
		onLoad() {
			uni.login({
				success: (res) => {
					uni.setStorageSync('wxcode', res.code)
				}
			})
		}
	}
</script>

<style lang="scss" scoped>
</style>
